<template>
  <div class="qa-container">
    <QaTest @update_count="onUpdate" :arr2="arr1"/>
    <div>父{{arr1}}</div>
  </div>
</template>

<script>
import QaTest from './components/qa-test.vue'
export default {
  name: 'QaIndex',
  data() {
    return {
      arr1: [1, 2]
    }
  },
  components: {
    QaTest
  },
  methods: { 
    onUpdate(a, b) {
      console.log(a, b);
    }
  }
}
</script>

<style>

</style>